﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using CncConvProg.Geometry;
using CncConvProg.Geometry.Entity;
using CncConvProg.Model.ConversationalStructure;
using CncConvProg.Model.ConversationalStructure.Abstraction;
using CncConvProg.Model.ConversationalStructure.FasiDiLavoro;
using CncConvProg.Model.PathGenerator;

namespace CncConvProg.Model.ToolMachine
{
    [Serializable]
    public class HorizontalLathe2Axis : ToolMachine
    {
        public HorizontalLathe2Axis()
        {
            CurrentWorkPlane = WorkPlane.XZ;
        }

        public override FaseDiLavoro CreateFaseLavoro()
        {
            var fase = new FaseTornio() { MachineGuid = this.MachineGuid };

            SetDefaultTiming(fase);

            return fase;
        }
    }
}